<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ attribute name="key" required="false"%>
<%@ attribute name="text" required="false"%>
<%@ attribute name="style" required="false"%>
<c:set var="default_style" value="wzb-common-text"></c:set>
<c:choose>
	<c:when test="${empty key and empty text}">
		<span class="${(empty style) ? default_style : style}"><jsp:doBody /></span>
	</c:when>
	<c:otherwise>
		<c:if test="${not empty key}">
			<c:set var="text">
				${key}
			</c:set>
		</c:if>
		<span class="${(empty style) ? default_style : style}"> 
			${text}
		</span>
	</c:otherwise>
</c:choose>